Function: real2str

CALL:

[str, W] = real2str(X, N)

DESCRIPTION:

Print real data in columns.

INPUT:

X number[N,M]
vector or matrix
N number
number of digits after comma

OUTPUT:

str string
output string
W number[]
Width of each column